-- GENERATED SPELL FOR [Sprite Darter] --


function spell0_5278(pUnit, Event) --@Mana Burn,n/a--
pUnit:FullCastSpellOnTarget(11981,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5278', 3000, 1)
end

function Sorts_5278(pUnit, Event)
local choix_sorts_5278 = math.random(0, 0)
if choix_sorts_5278 == 0 then
pUnit:RegisterEvent('spell0_5278', 1, 1)
end
end

function mob5278_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5278', math.random(1500, 3000), 1)
end

function mob5278_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5278_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5278_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5278, 1, 'mob5278_Action')
RegisterUnitEvent(5278, 2, 'mob5278_Leave')
RegisterUnitEvent(5278, 3, 'mob5278_Kill')
RegisterUnitEvent(5278, 4, 'mob5278_Die')
